home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / gnuplsrc.zip / MAKEFILE < prev    next >
Text File  |  1993-03-21  |  1KB  |  36 lines

  1. # makefile for 32-bit version of Gnushell
  2. # compiled using Johnson (?) gcc21
  3. # -- .c files have // style comments, so require some trickery in
  4. # -- order to compile
  5. # --    -x c++         treat as c++ ...
  6. # --    -U__cpluplus   but don't use some defines in .h files
  7. # --    -E             preprocess to strip comments ...
  8. # --    -o temp.i      into temp file
  9. # --    $(C..temp.i    then compile preprocessed file (whew)
  10. #
  11.  
  12. CFLAGS= -c
  13. CC=gcc
  14. INCL=/gnu/gcc-include
  15.  
  16. .c.obj:
  17.         $(CC) -U__cplusplus -x c++ -I $(INCL) -E -o temp.i $*.c
  18.     $(CC) $(CFLAGS) -o $*.obj temp.i
  19.         del temp.i
  20.  
  21. gnushell.exe: gnushell.hlp gnushell.res gnushell.obj gclient.obj \
  22. print.obj dialogs.obj winextra.obj gnushell.def
  23.      link386 gnushell+gclient+print+dialogs+winextra, \
  24. gnushell , nul , libc os2, gnushell
  25.      rc gnushell.res gnushell.exe
  26.  
  27. help: gnushell.hlp
  28.  
  29. gnushell.res : gnushell.rc  gnu2.ico
  30.      rc -r gnushell
  31.  
  32. gnushell.hlp: gnushell.itl
  33.     $(CC) -E -DGENHELP gnushell.itl
  34.     ipfc gnushell.i
  35.  
  36.